<?php
/**
 * 具体策略角色 Subtraction Operator
 * @author Kenny Wang
 */
class Sub implements Operation {

	public function op($a, $b)
	{
		$result = $a - $b;
		echo "$a-$b=$result\n";
	}
}